package ModelLayer;

import java.util.ArrayList;

public class Employee extends Person 
{	
	private String address;
	private String city;
	private int zipCode;
	private String role;
	//private ArrayList<DayOff> daysOff;
	private ArrayList<Booking> bookings;
	private ArrayList<String> availableTimes;

	public Employee()
	{
		
	}
	
	public Employee(int id)
	{
		super(id);
	}
	
	public Employee(int id, String type, String firstName, String lastName, String address, String city, 
					int zipCode, String phone, String email, String role) 
	{
		super(id, type, firstName, lastName, phone, email);
		this.address = address;
		this.city = city;
		this.zipCode = zipCode;
		this.role = role;
		//daysOff = new ArrayList<DayOff>();
		bookings = new ArrayList<Booking>();
	}

	public String getAddress() 
	{
		return address;
	}

	public String getCity() 
	{
		return city;
	}

	public int getZipCode() 
	{
		return zipCode;
	}

	public String getRole() 
	{
		return role;
	}

	//public ArrayList<DayOff> getDaysOff() 
	//{
	//	return daysOff;
	//}

	public ArrayList<Booking> getBookings() 
	{
		return bookings;
	}

	public ArrayList<String> getAvailableTimes()
	{
		return availableTimes;
	}
	
	public void setAddress(String address) 
	{
		this.address = address;
	}

	public void setCity(String city) 
	{
		this.city = city;
	}

	public void setZipCode(int zipCode) 
	{
		this.zipCode = zipCode;
	}

	public void setRole(String role) 
	{
		this.role = role;
	}

	//public void setDaysOff(ArrayList<DayOff> daysOff) 
	//{
	//	this.daysOff = daysOff;
	//}

	public void setBookings(ArrayList<Booking> bookings) 
	{
		this.bookings = bookings;
	}
	
	public void setAvailableTimes(ArrayList<String> times)
	{
		availableTimes = times;
	}
}
